<div style="display:table;width:100%;background:#FFF;">
<table id="vehicle_details" class="table table-condensed" style="border:0;width:50%;float:left;margin-bottom:10px;">
<tbody>
    <?php //if( !empty($detail['s_make']) ) { ?>
    <!--<tr>
        <td width="150px"><label><?php //_e('Make', 'cars_attributes'); ?></label></td>
        <td width="150px"><?php //echo @$detail['s_make']; ?></td>
    </tr>-->
    <?php //} ?>
    <?php //if( !empty($detail['s_model']) ) { ?>
    <!--<tr>
        <td width="150px"><label><?php //_e('Model', 'cars_attributes'); ?></label></td>
        <td width="150px"><?php //echo @$detail['s_model']; ?></td>
    </tr>-->
    <?php //} ?>
    <?php //$locale = osc_current_user_locale(); ?>
    <?php //if( !empty($detail['locale'][$locale]['s_car_type']) ) { ?>
    <!--<tr>
        <td width="150px"><label><?php //_e('Car type', 'cars_attributes'); ?></label></td>
        <td width="150px"><?php //echo @$detail['locale'][$locale]['s_car_type']; ?></td>
    </tr>-->
    <?php //} ?>
    <?php $c=1; ?>
    <?php if( !empty($detail['i_mileage']) ) { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'"; else echo "style='background:#F6F6F6;'"; ?>>
        <td width="150px"><label><?php _e('Mileage', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo @$detail['i_mileage']; ?>&nbsp;km</strong></td>
    </tr>
    <?php } ?>
    
    <?php if( !empty($detail['i_registration']) ) { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <td width="150px"><label><?php _e('Registration Year', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $detail['i_registration']; ?></strong></td>
    </tr>
    <?php } ?>
    
    <?php if( !empty($detail['e_inspection']) ) { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
         <?php $inspection = array('within1month' => __('Within 1 month', 'cars_attributes'),
                            'within2months' => __('Within 2 month', 'cars_attributes'),
                            'within3months' => __('Within 3 month', 'cars_attributes'),
                            'within6months' => __('Within 6 month', 'cars_attributes'),
                            'within9months' => __('Within 9 month', 'cars_attributes'),
                            'within12months' => __('Within 12 month', 'cars_attributes'),
                            'within18months' => __('Within 18 month', 'cars_attributes'),
                            'within24months' => __('Within 24 month', 'cars_attributes'),
                            'mustbeinspected' => __('Must be inspected', 'cars_attributes'),
                            'tempinspected' => __('Temporary inspected', 'cars_attributes')
                            ); 
		?>
        <td width="150px"><label><?php _e('Last inspection', 'cars_attributes'); ?></label></td>        
        <td width="150px"><strong><?php echo $inspection[$detail['e_inspection']]; ?></strong></td>
    </tr>
    <?php } ?>
    
    <?php if( !empty($detail['e_fuel']) ) { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <?php $fuel = array('diesel'    => __('Diesel', 'cars_attributes')
                           ,'hybrid'    => __('Hybrid', 'cars_attributes')
                           ,'gasoline'  => __('Gasoline', 'cars_attributes')
                           ,'electricity'  => __('Electricity', 'cars_attributes')
                           ,'biofueldiv'   => __('Bio fuel Div.', 'cars_attributes')
                           ,'solarandpedals'   => __('Solar and pedals ;-)', 'cars_attributes'));
        ?>  
        <td width="150px"><label><?php _e('Fuel', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $fuel[$detail['e_fuel']]; ?></strong></td>
    </tr>
    <?php } ?>
    
    <?php if( !empty($detail['i_emission']) )  { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <td width="150px"><label><?php _e('EU emission class', 'cars_attributes');  ?></label></td>
        <td width="150px"><strong><?php echo @$detail['i_emission']; ?></strong></td>
    </tr>
    <?php } ?>
    
    <?php if( !empty($detail['e_vansweight']) )  { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <?php $vansweight = array('from0000to2000' => __('From 0000 to 2000', 'cars_attributes')
                           ,'from1001to2000'  => __('From 1001 to 2000', 'cars_attributes')
                           ,'from2001to2500'  => __('From 2001 to 2500', 'cars_attributes')
                           ,'from2501to3000'  => __('From 2501 to 3000', 'cars_attributes')
                           ,'from3001to3500'  => __('From 3001 to 3500', 'cars_attributes'));
        ?>  
        <td width="150px"><label><?php _e('Taxed total weight', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $vansweight[$detail['e_vansweight']]; ?>&nbsp;kg</strong></td>
    </tr>
    <?php } ?>
    
    <?php if( !empty($detail['e_trailerweight']) )  { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <?php $trailerweight = array('from0to500' => __('From 0 to 500', 'cars_attributes')
                           ,'from501to1000'  => __('From 501 to 1000', 'cars_attributes')
                           ,'from1001to2000'  => __('From 1001 to 2000', 'cars_attributes')
                           ,'from2001to2500'  => __('From 2001 to 2500', 'cars_attributes')
                           ,'from2501to3000'  => __('From 2501 to 3000', 'cars_attributes')
                           ,'from3001to3500'  => __('From 3001 to 3500', 'cars_attributes')
                           ,'minisemitrailerbe5000'  => __('Mini Semitrailer be 5000', 'cars_attributes'));
        ?>  
        <td width="150px"><label><?php _e('Taxed total weight', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $trailerweight[$detail['e_trailerweight']]; ?>&nbsp;kg</strong></td>
    </tr>
    <?php } ?>
    
     <?php if( !empty($detail['e_busweight']) )  { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <?php $busweight = array('from0000to1300' => __('From 0000 to 1300', 'cars_attributes')
                           ,'from1301to1500'  => __('From 1301 to 1500', 'cars_attributes')
                           ,'from1501to2000'  => __('From 1501 to 2000', 'cars_attributes')
                           ,'from2001to3000'  => __('From 2001 to 3000', 'cars_attributes')
                           ,'from3001to3500'  => __('From 3001 to 3500', 'cars_attributes'));
        ?>  
        <td width="150px"><label><?php _e('Taxed total weight', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $busweight[$detail['e_busweight']]; ?>&nbsp;kg</strong></td>
    </tr>
    <?php } ?>
    
</tbody>
</table>

<table class="table table-condensed" style="border:0;width:50%;float:right;margin-bottom:10px;">
<tbody>	
    
     <?php if( !empty($detail['i_axles']) ) { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <td width="150px"><label><?php _e('Number of axles', 'cars_attributes');  ?></label></td>
        <td width="150px"><strong><?php echo @$detail['i_axles']; ?></strong></td>
    </tr>
    <?php } ?>
    
    <?php if( !empty($detail['e_taxation']) ) { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <?php $tax = array('privatecompany' => __('Private & Company', 'cars_attributes')
                           ,'companysonly'  => __('Companys Only', 'cars_attributes')
                           ,'norestrictions'  => __('No restrictions', 'cars_attributes')
                           ,'private'  => __('Private', 'cars_attributes'));
        ?>  
        <td width="150px"><label><?php _e('Drive taxation', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $tax[$detail['e_taxation']]; ?></strong></td>
    </tr>
    <?php } ?>
    
    <?php if( !empty($detail['e_brakes']) ) { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <?php $brakes = array('inertia' => __('Inertia', 'cars_attributes')
                           ,'electric'  => __('Electric', 'cars_attributes')
                           ,'hydraulic'  => __('Hydraulic', 'cars_attributes')
                           ,'twocircuitair'  => __('Two circuit air', 'cars_attributes'));
        ?>  
        <td width="150px"><label><?php _e('Brakes', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $brakes[$detail['e_brakes']]; ?></strong></td>
    </tr>
    <?php } ?>
    
    <?php if( !empty($detail['e_cab']) ) { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <?php $cab = array('singlecabine' => __('Single cabine', 'cars_attributes')
                           ,'quartcabine'  => __('Quart cabine', 'cars_attributes')
                           ,'doublecabine'  => __('Double cabine', 'cars_attributes'));
        ?>  
        <td width="150px"><label><?php _e('Cabine', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $cab[$detail['e_cab']]; ?></strong></td>
    </tr>
    <?php } ?>
    
    <?php if( !empty($detail['e_buscab']) ){ $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <?php $buscab = array('deluxecabinelow' => __('Deluxe cabine low', 'cars_attributes')
                           ,'deluxecabinehigh'  => __('Deluxe cabine high', 'cars_attributes')
                           ,'standardcabinelow'  => __('Standard cabine low', 'cars_attributes')
                           ,'standardcabinehigh'  => __('Standard cabine high', 'cars_attributes')
                           ,'lowwwheelchairlift'  => __('Low w/ wheelchairlift', 'cars_attributes')
                           ,'highwwheelchairlift'  => __('High w/ wheelchairlift', 'cars_attributes')
                           ,'schoolcrewcabinelow'  => __('School / Crew cabine low', 'cars_attributes')
                           ,'schoolcrewcabinehigh'  => __('School / crew cabine high', 'cars_attributes')
                           ,'anothertypeofcabine'  => __('Another type of cabine', 'cars_attributes'));
        ?>  
        <td width="150px"><label><?php _e('Cabine in mini bus', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $buscab[$detail['e_buscab']]; ?></strong></td>
    </tr>
    <?php } ?>
    
    <?php if( !empty($detail['i_seats']) ) { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <td width="150px"><label><?php _e('Number of seats', 'cars_attributes');  ?></label></td>
        <td width="150px"><strong><?php echo @$detail['i_seats']; ?></strong></td>
    </tr>
    <?php } ?>    
    
    <?php if( !empty($detail['e_body']) ) { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <?php $body = array('chassisnaked' => __('Chassis naked', 'cars_attributes')
                           ,'boxwcooldoors'  => __('Box w/cool+doors', 'cars_attributes')
                           ,'boxwcooldoorslift'  => __('Box w/cool+doors+lift', 'cars_attributes')
                           ,'boxwdoorrear'  => __('Box w/doors.rear', 'cars_attributes')
                           ,'boxwdorelif'  => __('Box w/doors.rear+lif', 'cars_attributes')
                           ,'boxwsiderear'  => __('Box w/doors.side+rear', 'cars_attributes')
                           ,'boxwsirelif'  => __('Box w/doors.si+re+lift', 'cars_attributes')
                           ,'boxwhorseoption'  => __('Box w/horse option', 'cars_attributes')
                           ,'closedtarpaulin'  => __('Closed tarpaulin', 'cars_attributes')
                           ,'closedtarpaulinlift'  => __('Closed tarpaulin+lift', 'cars_attributes')
                           ,'closedtarpaulinslide'  => __('Closed tarpaulin+slide', 'cars_attributes')
                           ,'closedtarpaulinrool'  => __('Closed tarpaulin+roll', 'cars_attributes')
                           ,'followcarbuildup'  => __('Follow car build op', 'cars_attributes')
                           ,'minisemitractor'  => __('Mini semi tractor BE', 'cars_attributes')
                           ,'opentoautotransport'  => __('Open autotransport', 'cars_attributes')
                           ,'openwithcrane'  => __('Open w/crane', 'cars_attributes')
                           ,'openwithdump'  => __('Open w/dump', 'cars_attributes')
                           ,'openwithsides'  => __('Open w/sides', 'cars_attributes')
                           ,'openwtank'  => __('Open w/tank', 'cars_attributes')
                           ,'openworkplatform'  => __('Open w/workplatform', 'cars_attributes')
                           ,'panelshort'  => __('Panel short', 'cars_attributes')
                           ,'panelmiddle'  => __('Panel middle', 'cars_attributes')
                           ,'panellong'  => __('Panel long', 'cars_attributes')
                           ,'panelextralong'  => __('Panel extralong', 'cars_attributes')
                           ,'panelpacketbuildup'  => __('Panel packet build up', 'cars_attributes')
                           ,'panelracingbuildup'  => __('Panel racing build up', 'cars_attributes')
                           ,'panelwwindows'  => __('Panel w/windows', 'cars_attributes')
                           ,'salvagediv'  => __('Salvage div.', 'cars_attributes')
                           ,'smalldeliverytype'  => __('Small delivery van', 'cars_attributes')
                           ,'smallpersontype'  => __('Small person van', 'cars_attributes'));
        ?>  
        <td width="150px"><label><?php _e('Body load', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $body[$detail['e_body']]; ?></strong></td>
    </tr>
    <?php } ?>
    
    <?php if( !empty($detail['e_suspension']) ) { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <?php $suspension = array('airallaxles' => __('Air on all axles', 'cars_attributes')
                           ,'springallaxles'  => __('Spring on all axles', 'cars_attributes')
                           ,'airspringonaxles'  => __('Air+spring on axles', 'cars_attributes')
                           ,'swingrubberonaxles'  => __('Swing+rubber on axles', 'cars_attributes'));
        ?>  
        <td width="150px"><label><?php _e('Suspension', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $suspension[$detail['e_suspension']]; ?></strong></td>
    </tr>
    <?php } ?>
    
    <?php if( !empty($detail['i_payload']) ){ $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <td width="150px"><label><?php _e('Payload', 'cars_attributes');  ?></label></td>
        <td width="150px"><strong><?php echo @$detail['i_payload']; ?>&nbsp;kg</strong></td>
    </tr>
    <?php } ?>        
   
    <?php if( !empty($detail['e_trailertowbar']) ) { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <?php $towbar = array('no' => __('No', 'cars_attributes')
                           ,'yes1'  => __('Yes with std. ball', 'cars_attributes')
                           ,'yes2'  => __('Yes with ball + eye', 'cars_attributes'));
        ?>  
        <td width="150px"><label><?php _e('Trailer towbar', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $towbar[$detail['e_trailertowbar']]; ?></strong></td>
    </tr>
    <?php } ?>
    
    <?php if( !empty($detail['i_power']) ) { $c++; ?>
    <tr><td></td></tr>
    <tr <?php if (par($c)) echo "style='background:#EBEBEB;'";else echo "style='background:#F6F6F6;'"; ?>>
        <td width="150px"><label><?php _e('Power', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo @$detail['i_power']; ?> <?php echo @$detail['e_power_unit']; ?></strong></td>
    </tr>
    <?php } ?>  
    
    <tr style="display:none;">
        <td width="150px"><label><?php _e('Warranty', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo @$detail['b_warranty'] ? '<strong>' . __('Yes', 'cars_attributes') . '</strong>' : __('No', 'cars_attributes'); ?></strong></td>
    </tr>
    
    <tr style="display:none;">
        <td><label><?php _e('State', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo @$detail['b_new'] ? '<strong>' . __('New', 'cars_attributes') . '</strong>' : __('Used', 'cars_attributes'); ?></strong></td>
    </tr>
    
    <?php if( !empty($detail['e_seller']) ) { ?>
    <tr style="display:none;">
        <?php $seller = array('DEALER' => __('Dealer', 'cars_attributes'), 'OWNER' => __('Owner', 'cars_attributes')); ?>
        <td width="150px"><label><?php _e('Seller', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $seller[$detail['e_seller']]; ?></strong></td>
    </tr>
    <?php } ?>
    
</tbody>
</table>
</div>